package WEEK_196;

import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;

import LCommon.TreeMethod;
import LCommon.TreeNode;

public class Test {

	public static void main(String[] args) {

//		System.out.println(new Solution().xorOperation(10, 5));
//		int[] arr = { 1, 2, 4 };
//		System.out.println(new Solution().canMakeArithmeticProgression(arr));
//		int n = 4;
//		int[] left = { 4, 3 }, right = { 0, 1 };
//		System.out.println(new Solution().getLastMoment(n,left,right));
		int[][] mat = { { 0,1,1,0 }, {0, 1, 1, 1 }, { 1, 1, 1,0 } };

		System.out.println(new Solution().numSubmat(mat));
	}

}
